gdk_pixbuf_get_from_window: honor device scale
authorLars Uebernickel <lars.uebernickel@canonical.com>
Mon, 26 Oct 2015 09:12:34 +0000 (10:12 +0100)
committerLars Uebernickel <lars.uebernickel@canonical.com>
Tue, 27 Oct 2015 08:38:52 +0000 (09:38 +0100)
commit657a43e54e7721fced8ef0e6808271838f14697f
treeec80e1c8ce2a05f836f751b25509317e293f0a22
parent46e834cf3e2213d9df0c4ff595e10543f8af7adc
gdk_pixbuf_get_from_window: honor device scale

gdk_pixbuf_get_from_window() paints the given window onto a new cairo
surface. Create that new surface with the same device scale as the
window so that the result is not scaled down on hidpi screens.

https://bugzilla.gnome.org/show_bug.cgi?id=757147
gdk/gdkpixbuf-drawable.c